import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./assets/css/reset.css";
import "./assets/js/rem";
// axios引入
import axios from "axios";
// vant引入
import Vant from "vant";
import "vant/lib/index.css";
// icon图标
import "./assets/css/font_1/iconfont.css";

Vue.use(Vant);
Vue.prototype.$axios = axios;
Vue.config.productionTip = false;
router.beforeEach((to, from, next) => {
  document.title = to.meta.title;
  next();
});
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
